//
//  NewUserRegisterVIew.h
//  Longer3D
//
//  Created by longer3d on 15/8/6.
//  Copyright (c) 2015年 longer3d. All rights reserved.
//

#import <UIKit/UIKit.h>

@class NewUserRegisterVIewDelegate;
@protocol NewUserRegisterVIewDelegate<NSObject>
- (void)registViewSendSmsCode:(NSString*)mobile;          //发送验证码
- (void)registViewRegiterWithUsername:(NSString *)mobile SmsCode:(NSString *)smscode  Password:(NSString *)pw   RepeatPW:(NSString *)repeatPw;//注册
@end

@interface NewUserRegisterVIew : UIView

@property(nonatomic,strong)UITextField *usernameTF;
@property(nonatomic,strong)UITextField *smscodeTF;        //验证码
@property(nonatomic,strong)UIButton *getSmscodeBtn;       //获取验证码
@property(nonatomic,strong)UITextField *inputPasswdTF;    //输入密码
@property(nonatomic,strong)UITextField *confirmPasswdTF;  //确认密码
@property(nonatomic,strong)UIButton *registerBtn;         //注册按钮
@property(nonatomic,strong)UILabel *timeLabel;            //验证码发送时间
@property(nonatomic,strong)UIView *backgroundView;        
@property(nonatomic,assign)id <NewUserRegisterVIewDelegate>delegate;

@end
